<#assign fandPagePath = '/default/admin/site/site/edit'>
<!DOCTYPE html>
<html lang="zh-CN">
<head><#include "../../../head_.html">
</head>
<body class="easyui-layout">
	<div data-options="region:'center'" style="padding: 10px;">
		<form action="${fand.webContextUrl!}/admin/site/site/save.txt"
			method="post">
			<input type="hidden" name="site.id" value="${(site.id)!}">
			<fieldset>
				<legend>基本数据</legend>
				<table>
					<tr>
						<td><label for="site.code">编号：</label></td>
						<td><input type="text" name="site.code" id="site.code"
							class="easyui-validatebox" placeholder="请输入编号…"
							data-options="required:true"
							validType="remote['${fand.webContextUrl!}/admin/site/site/validationByCode.json?site.id=${(site.id)!}', 'site.code']"
							maxlength="128" value="${site.code!}"></td>
					</tr>
					<tr>
						<td><label for="site.name">名称：</label></td>
						<td><input type="text" name="site.name" id="site.name"
							placeholder="请输入名称…" class="easyui-validatebox"
							data-options="required:true" maxlength="128" value="${site.name!}"></td>
					</tr>
					<tr>
						<td><label for="site.defaultCo"> 是否默认： </label></td>
						<td><input type="checkbox" name="site.defaultCo"
							id="site.defaultCo" value="true"<#if (site.defaultCo!) ==
							'true'> checked="checked"</#if>></td>
					</tr>
				</table>
			</fieldset>
			<fieldset>
				<legend>
					配置域名<input type="checkbox" name="site.configurationDomainNa"
						value="true">
				</legend>
			</fieldset>
			<fieldset>
				<legend>
					配置多语言<input type="checkbox" name="site.configurationLanguage"
						value="true">
				</legend>
			</fieldset>
			<fieldset>
				<legend>
					配置权限<input type="checkbox" name="site.configurationRole"
						value="true">
				</legend>
			</fieldset>
		</form>
	</div>
	<div data-options="region:'south',border:false"
		style="text-align: right;; padding: 5px 0 0; height: 32px;">
		<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
			href="#ok">提交</a> <a class="easyui-linkbutton"
			data-options="iconCls:'icon-mini-refresh'" href="#reset">重置</a> <a
			class="easyui-linkbutton" data-options="iconCls:'icon-back'"
			href="#back">返回</a>
	</div>
</body>
</html>